<?php defined('LFNC_PACKAGE') or die('forbidden');


/**
* MLT Web Engine
* http://www.molotsoft.ru
*
* @package MLT_WE
* @subpackage Lucky_Funcs
* @author Ivan Chistyakov <ivan@molotsoft.ru>
* @version $Id: is_resource_type.lfnc.php 273 2009-06-24 18:42:40Z molotsoft@gmail.com $
* @link $HeadURL: http://lucky-funcs.googlecode.com/svn/trunk/funcs/variable/is_resource_type.lfnc.php $
*/


function is_resource_type($var, $resource_type) {
	return is_resource($var) && strcaseeq(get_resource_type($var), trim($resource_type));
}


?>